#! /usr/bin/python3

# @File:   urls.py
# @Author: tiannanyihao
# @DATE:   2019-05-17
# @TIME:   14:50
# @Software: PyCharm
# @Production:


# 配置BookApp 应用的urls

from django.urls import path
from BookApp import views

urlpatterns = [
    path('test/', views.test),  # 应用层级配置视图函数的路径
    path('booklist/', views.bookList),
    path('addBook/', views.addBook),
    path('deleteBook<int:bid>/', views.deleteBook),
    path('bookDetail<int:bid>/', views.bookDetail),
]
